/*
 * @Author: CoderLPF
 * @Date: 2020-04-22 09:45:52
 * @LastEditTime: 2020-04-22 12:11:45
 * @LastEditors: CoderLPF
 * @Description: 
 * @FilePath: \fzx-system-fd\src\utils\random.js
 */
export function random(n = 4) {
    let num = '';
    for (var i = 0; i < n; i++) {
        num += Math.floor(Math.random() * 10);
    }
    return num;
}